<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="css/common.css" type="text/css" />
        <link href="css/adminstyle.css" rel="stylesheet" type="text/css">
		<title><?=Common::_t('page_admin_area')?></title>
        <script src="js/js.js">     </script>
          <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    </head>
    <body>
     <?$page_th = Common::_t('page_th');?>
    <div id="man_zone">
      <div class="search_condition" style="padding-top:10px; padding-bottom:10px; ">
        <form method="get">
      	 &nbsp;&nbsp;<?=getStr($page_th, 'book_no')?>
      	 <input name="book_no" type="text"  value="<?=getStr($extract_vars,'book_no')?>" size="40" />
      	 &nbsp;&nbsp;<?=getStr($page_th, 'date_time')?><input name="start_time" type="text" onClick="WdatePicker()" value="<?=getStr($extract_vars,'start_time')?>" />-
      	 	<input  name="over_time" type="text"  onClick="WdatePicker()"  value="<?=getStr($extract_vars,'over_time')?>" />
      	 	<input name="teacher_id" type="hidden" value="<?=getStr($extract_vars,'teacher_id')?>"/>
      	 	<input name="" type="submit" value="<?=getStr($page_th, 'search')?>"   class="PublicBot"/></form>
        </div>
        	<h3 style="margin-left: 30px;"><?=getStr($page_th, 'sum_data')?></h1>
            <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"
                class="tableborder">
                <tr class="header">
                    <td><?=getStr($page_th, 'teacher_name')?></td>
                    <td><?=getStr($page_th, 'teacher_real_education_experience')?></td>
              		<td><?=getStr($page_th, 'salary_month')?></td>
                    <td><?=getStr($page_th, 'sum_amount')?></td>
                    <td><?=getStr($page_th, 'sum_integral')?></td>
                </tr>
                 <tr bgcolor="#FFFFFF">
                      <td align="center"><?=getStr($teacher_info,'serial_number')?>-<?=getStr($teacher_info,'name')?></td>
                      <td align="center">
                     <?if(getStr($teacher_info,'real_education_experience')>=2){
                     	?>
                    	<img src="<?=SITE_URL?>user/images/xingxing<?=getStr($teacher_info,'real_education_experience')?>.png"/>
                    <?}else{?>
	                    <img src="user/images/xingxing.png" />
                    <?}?>
                      </td>
                      <td align="center"><?=getStr($extract_vars,'start_time')?>-----<?=getStr($extract_vars,'over_time')?></td>
                      <td  align="right"><?=$sumMoney?></td>
                      <td  align="right"><?=$sumIntegral?></td>
                  </tr>
            </table>
            <h3 style="margin-left: 30px;"><?=getStr($page_th, 'summx_data')?>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <font style="color:red;font-size:6px;">Holiday:</font>
            <font style="font-size:9px;">
            <?foreach($holiday_list as $key=>$value){?>
            	<?=$value.','?>
            <?}?>
            </font>
            </h3>
            <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"
                class="tableborder">
                <tr class="header">
              		<td><?=getStr($page_th, 'book_no')?></td>
              		<td><?=getStr($page_th, 'student_name')?></td>
              		<td><?=getStr($page_th, 'book_course_status')?></td>
              		<td><?=getStr($page_th, 'book_teacher_status')?></td>
              		<td><?=getStr($page_th, 'book_user_status')?></td>
              		<td><?=getStr($page_th, 'book_course_time')?></td>
              		<td><?=getStr($page_th, 'book_course_finish_time')?></td>
                    <td><?=getStr($page_th, 'salary_type')?></td>
                    <td><?=getStr($page_th, 'salary_money')?></td>
                    <td><?=getStr($page_th, 'salary_integral')?></td>
                  <td><?=getStr($page_th,'salary_operator')?></td>
                </tr>
                <? foreach($list as $v){ ?>
                    <tr bgcolor="#FFFFFF">
                        <td align="center"><?=getStr($v, 'book_no')?></td>
                        <td align="center"><?=getStr($v, 'english_name')?></td>
                        <td align="center"><?=getStr($v, 'class_status_name')?></td>
                        <td align="center"><?=getStr($v, 'teacher_status_name')?></td>
                        <td align="center"><?=getStr($v, 'user_status_name')?></td>
                        <td align="center"><?=getStr($v, 'book_course_time')?>
                        <?if(getStr($v, 'week_name')!=""){?>
                        	<font color="red"><?="(".getStr($v, 'week_name').")"?></font>
                        <?}?>
                        <?if(getStr($v, 'holiday_name')!=""){?>
                        	<font color="red"><?="(".getStr($v, 'holiday_name').")"?></font>
                        <?}?>
                        </td>
                        <td align="center"><?=getStr($v, 'book_course_finish_time')?></td>
                        <td><?=$v['type']?></td>
                        <td><?=$v['money']?></td>
                        <td><?=$v['integral']?></td>
                        <td align="center"><a href="CourseRecord_recordInfo.html?bookCourseId=<?=$v['book_course_id']?>" target="_blank"><?=getStr($page_th, 'book_course_id')?></a></td>
                    </tr>
                    <? } ?>
                     <tr bgcolor="#FFFFFF">
                        <td colspan="11" align="center">
                        	<?=$page?>
                        </td>
                     </tr>
            </table>
      </div>
    </body>
</html>